翻訳と辞書
Words near each other
・ Message from Space
・ Message from Space (disambiguation)
・ Message from space (science fiction)
・ Message from the Country
・ Message from the East
・ Message from the King
・ Message Handling System
・ Message Hero
・ Message in a bottle
・ Message in a bottle (disambiguation)
・ Message in a Bottle (film)
・ Message in a Bottle (novel)
・ Message in a Bottle (song)
・ Message in Our Music
・ Message in the Music
Message loop in Microsoft Windows
・ Message Man
・ Message Maps
・ Message of Guru Granth Sahib
・ Message of Thaqalayn
・ Message oriented middleware
・ Message Oriented Text Interchange Systems
・ Message Parsing Interpreter
・ Message passing
・ Message passing (disambiguation)
・ Message passing in computer clusters
・ Message Passing Interface
・ Message picture
・ Message posting protocol
・ Message precedence


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Message loop in Microsoft Windows : ウィキペディア英語版
Message loop in Microsoft Windows

Microsoft Windows programs are event-based. They act upon messages that the operating system posts to the main thread of the application. These messages are received from the message queue by the application by repeatedly calling the GetMessage (or PeekMessage) function in a section of code called the "event loop." The event loop typically appears as follows:

int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE, LPSTR lpCmdLine, int nCmdShow)

}
return msg.wParam;
}

Though not strictly required, it is conventional for the event loop to call TranslateMessage and DispatchMessage, which transfers the message to the callback procedure associated with the window the message refers to.
Modern graphical interface frameworks, such as Windows Forms, Windows Presentation Foundation, MFC, Delphi, Qt and others do not typically require applications to directly access the Windows message loop, but instead automatically route events such as key presses and mouse clicks to their appropriate handlers as defined within the framework. Underlying these frameworks, however, the message loop can again be found, and can usually be accessed when more direct control is required.
==External links==

* (Meandering Through the Maze of MFC Message and Command Routing )
* (A Key's Odyssey: the path of a keystroke message through the VCL )
* (Platform SDK: Message and Message Queue Overviews )
* (Platform SDK: Windows API: Entering the Message Loop )
* (Using Messages and Message Queues (MSDN) )
* (GetMessage function )
* (PeekMessage function )

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Message loop in Microsoft Windows」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.